#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>


QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    virtual void timerEvent(QTimerEvent *event);
    static int npcID;
private slots:
    void on_dirButton_clicked();

    void on_startButton_clicked();

    void on_pushButton_clicked();

    void on_randomButton_clicked();

    void on_webButton_clicked();

    void on_downfallButton_clicked();

    void on_downQuickButton_clicked();


    int getRandomNumberBetween(int id);
private:
    Ui::Widget *ui;
    int myTimerId;
    int picID;


};
#endif // WIDGET_H
